package org.example.zrccddllljh.Pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.time.LocalDateTime;

@Data

@NoArgsConstructor
public class Admin {
    @NonNull
    private Integer id;
    private String username;
    @NotEmpty
    @JsonIgnore
    private String password;
    private  String pic;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
